package com.central.consume.dao;

import com.central.consume.model.ChargeLogDO;
import org.apache.ibatis.annotations.Mapper;
import com.central.consume.model.ChargeDO;

import java.util.List;
import java.util.Map;

@Mapper
public interface RechargeDAO {

    /**
     * 获取充值信息条数
     * @param params
     * @return
     */
    int countCharge(Map<String, Object> params);

    /**
     * 获取充值信息
     * @param params
     * @return
     */
    List<ChargeDO> listRechargeInfo(Map<String, Object> params);


    /**
     * 获取充值详情条数
     * @param params
     * @return
     */
    int countChargeDetails(Map<String, Object> params);

    /**
     * 获取充值详情
     * @param params
     * @return
     */
    List<ChargeLogDO> listRechargeDetailsInfo(Map<String, Object> params);
}
